import http from '@/plugins/aixos'

export function findAllPoint(args: Record<string, any>) {
  const url =
    '/tower-point?' +
    Object.entries(args)
      .map(([key, value]) => `${key}=${value}`)
      .join('&')
  return http.request<TowerPointModel[]>({
    url,
    method: 'GET',
  })
}
